package cn.hairui.fastms.core.mapper;

import cn.hairui.fastms.core.bean.SRole;
import cn.hairui.fastms.core.bean.SUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 用户角色信息表 Mapper 接口
 * </p>
 *
 * @author lihairui
 * @since 2020-12-27
 */
@Mapper
public interface SUserRoleMapper extends BaseMapper<SUserRole> {

    List<SRole> selectRolesByUserAccount(String userAccount);

    boolean removeByUserAccounts(List<String> idList);
}
